package cn.denny.designpattern.command;

public abstract class Command {
	protected Cooker cooker;

	public Command(Cooker cooker) {
		this.cooker = cooker;
	}
	public Cooker getCooker() {
		return cooker;
	}

	public void setCooker(Cooker cooker) {
		this.cooker = cooker;
	}
	
	public abstract void execute();
}
